aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compile...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-06-28 00:18:06 +0100
committerMichael Williamson <mike@zwobble.org>2023-06-28 00:18:06 +0100
commit2ac63745004d385fd47599d658b03dcfbbc7b17d (patch)
treeb2db15416148380c1e6fb26f0043bfee01e12f77 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parent25f05f12773ea5710941822ce0e168325cc7ce14 (diff)
Put linking section before name section
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected22
1 files changed, 11 insertions, 11 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index f0e26329..ec34c83b 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -17,6 +17,17 @@ Code[2]:
- func[1] size=23 <shed__function__f__0>
- func[2] size=47 <f>
Custom:
+ - name: "linking"
+ - symbol table [count=3]
+ - 0: F <shed__runtime__alloc> func=0 [ undefined explicit_name binding=global vis=default ]
+ - 1: F <shed__function__f__0> func=1 [ binding=global vis=default ]
+ - 2: F <f> func=2 [ binding=global vis=default ]
+Custom:
+ - name: "reloc.CODE"
+ - relocations for section: 3 (Code) [2]
+ - R_WASM_FUNCTION_INDEX_LEB offset=0x00002e(file=0x0000af) symbol=0 <shed__runtime__alloc>
+ - R_WASM_TABLE_INDEX_SLEB offset=0x000038(file=0x0000b9) symbol=1 <shed__function__f__0>
+Custom:
- name: "name"
- func[0] <shed__runtime__alloc>
- func[1] <shed__function__f__0>
@@ -28,17 +39,6 @@ Custom:
- func[2] local[1] <local__c__0>
- func[2] local[2] <local__a__0>
- func[2] local[3] <closurePointer__0>
-Custom:
- - name: "linking"
- - symbol table [count=3]
- - 0: F <shed__runtime__alloc> func=0 [ undefined explicit_name binding=global vis=default ]
- - 1: F <shed__function__f__0> func=1 [ binding=global vis=default ]
- - 2: F <f> func=2 [ binding=global vis=default ]
-Custom:
- - name: "reloc.CODE"
- - relocations for section: 3 (Code) [2]
- - R_WASM_FUNCTION_INDEX_LEB offset=0x00002e(file=0x0000af) symbol=0 <shed__runtime__alloc>
- - R_WASM_TABLE_INDEX_SLEB offset=0x000038(file=0x0000b9) symbol=1 <shed__function__f__0>
Code Disassembly: